<%@ page language="java"  import="com.bean.*" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>index</title>
</head>
<body>
<center>
 <h1>登陆成功  </h1>
    <a href="Queryservlet">查询用户信息</a>
    <br>
<% userinfo user=(userinfo)session.getAttribute("user"); %>
     <%if(user.getUsername().equals("tjj")&&user.getPassword().equals("123456")) { %>
      <a href="update.jsp">修改用户信息</a>
      <a href="upload.jsp">上传文件</a>
        <%} %>
     
</center>
</body>
</html>